package edu.ubb.remeye.gui.event.manager;

import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;

import edu.ubb.remeye.control.Control;
import edu.ubb.remeye.gui.event.EventType;

/**
 * Class for managing mouse wheel events.
 * 
 * @author Andrew Ianicicau
 *
 */
public class MouseWheelEventManager implements MouseWheelListener {

	///////////////////////////////////////////////////////////////////////////////////
	////		METHODS - MouseWheelEventManager
	///////////////////////////////////////////////////////////////////////////////////
	
	/**
	 * Send a MOUSE_WHEEL event when wheel is rotated.
	 */
	@Override
	public void mouseWheelMoved(MouseWheelEvent e) {
		Control.sendEvent(EventType.MOUSE_WHEEL, e);
	}

}
